import { Game, canvas } from './game-state.js';

export function updateCamera() {
    Game.camera.x = Game.player.x - canvas.width / 2;
    Game.camera.y = Game.player.y - canvas.height / 2;
}